package cn.webrx;

public class Suan4 {
    public static void main(String[] args) {
        double d = 5;
        ++d; //相当于 d=d+1;
        d++;//相当于 d=d+1;
        System.out.println(d); //7.0
        System.out.println("---------------------------------------");

        int i = 5;
        int b = i++; //b = 5 i = 6;
        System.out.println(b);
        System.out.println(i);
        System.out.println(++b);//6

        //++ --

         //double 8 float 4
        float abc = .242424242342342342342342432342342342342342f;
        System.out.println(abc);
        double dc = .242424242342342342342342432342342342342342f;
        System.out.println(dc);

        long aaa = 24242424224234232L;

    }
}
